package com.hnhd.eorder.vo;

import java.util.ArrayList;
import java.util.Date;

/**
 * 订单类,主要字段包括
 * id,tableID,number,server,cashier,price,discount,status,remarks,orderTime,endTime
 * @author peng
 *
 */
public class Order {

	/**
	 * 订单id
	 */
	private int id;
	/**
	 * 桌台id
	 */
	private int tableID;
	/**
	 * 桌台名称
	 */
	private int tableName;
	
	/**
	 * 此订单包含的菜品，即订单子项
	 */
	private ArrayList<OrderItem> items;
	/**
	 * 就餐人数
	 */
	private int number;
	/**
	 * 订单服务员
	 */
	private String server;
	/**
	 * 订单收银员
	 */
	private int cashier;
	/**
	 * 订单价格
	 */
	private float price;
	/**
	 * 订单折扣
	 */
	private float discount;
	/**
	 * 订单状态
	 */
	private String status;
	/**
	 * 订单备注
	 */
	private String remarks;
	/**
	 * 下订单时间
	 */
	private Date orderTime;
	/**
	 * 发送订单时间
	 */
	private Date endTime;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getTableID() {
		return tableID;
	}
	public void setTableID(int tableID) {
		this.tableID = tableID;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public int getCashier() {
		return cashier;
	}
	public void setCashier(int cashier) {
		this.cashier = cashier;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public float getDiscount() {
		return discount;
	}
	public void setDiscount(float discount) {
		this.discount = discount;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public ArrayList<OrderItem> getItems() {
		return items;
	}
	public void setItems(ArrayList<OrderItem> items) {
		this.items = items;
	}
	public int getTableName() {
		return tableName;
	}
	public void setTableName(int tableName) {
		this.tableName = tableName;
	}
	
	
	
	
}
